﻿using System.IO;
using System.Windows.Controls;

namespace Lib
{
    /// <summary>
    /// 文件保存按钮
    /// </summary>
    public class FileSaveButton : Button
    {
        public FileSaveButton(string fileName, MemoryStream stream)
            : base()
        {
            this.FileName = fileName;
            this.Stream = stream;
        }

        public string FileName { set; get; }
        public MemoryStream Stream { set; get; }
    }
}
